* {
  box-sizing: border-box;
}

.m-b-12px { margin-bottom: 12px; }
.m-b-14px { margin-bottom: 14px; }
.t-color { color: rgb(105, 105, 105); }
.dn { display: none; }

body { background: #eee; margin: 20px 0; }
a { font-size: inherit; color: #666; text-decoration: underline; }
a:hover {
  cursor: pointer;
}
ol, ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

article {
  width: 21cm;
  min-height: 29.7cm;
  overflow: hidden;
  background: white;
  margin: 0 auto;
  overflow: auto;
  padding: 1em;
  box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.2);
  display: flex;
  flex-flow: column;
  @media print {
    box-shadow: none;
  }
  // gap: 10px;
}

section {
  > h2 {
    margin-top: 8px;
    margin-bottom: 10px;
    color: #050505;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
    &::before {
      content: '';
      height: 2px;
      position: absolute;
      width: 600%;
      bottom: 0px;
      opacity: 0.2;
      background: #696969;
    }
    @media (max-width: 500px) {
      &::before {
        width: 150%;
      }
    }
  }
}

p { margin: 0.3em 0; }

h1 {
  color: #050505;
  font-size: 28px;
  margin: 0;
  line-height: 42px;
  letter-spacing: 0.1em;
}

h5, h6 { font-weight: normal; }

svg {
  font-size: 10px;
  width: 20px;
  height: 20px;
  fill: #696969;
}

strong {
  font-weight: normal;
  color: #f60;
}


.address {
  display: flex;
  flex-wrap: wrap;
  > li {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 5px;
    word-wrap: break-word;
    padding: 10px 14px;
    border-radius: 4px;
    max-width: 97%;
    margin-bottom: 5px;
    background-color: rgba(105, 105, 105, 0.2);
    &::after {
      // content: '';
      position: absolute;
      display: inline-block;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      /* opacity: .2; */
      border-radius: 4px;
      /* background-color: rgba(105, 105, 105, 0.2); */
    }
    .svg-icon {
      width: 20px;
      height: 20.5px;
      background-color: #fff;
      border-radius: 50%;
      /* background-color: rgba(105, 105, 105, 0.1); */
    }
    .icon-txt {
      padding-left: 12px;
    }
  }
}

.bio {
  > p {
    > span {
      padding: 0 20px;
      a {
        color: #666;
      }
      &:first-child {
        padding-left: 0;
      }
    }
  }
}


a { text-decoration: underline; }

p, li { color: #050505; }

strong { font-weight: normal; }

h3, h4, h5, h6 { margin: 0; }

.bio {
  position: relative; 
  > img {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media (max-width: 500px) {
  .bio > p:last-child > span {
    text-align: left;
    padding: 0;
  }
}

@media print {
  #skills {
    display: none;
  }
}

.skills > .wrapper {
  display: flex;
  justify-content: space-between;
}

.skills > .wrapper > :first-child {
  margin-right: 24px;
}

.skills > .wrapper > ul {
  color: #666;
}

.skills > .wrapper strong {
  color: #f60;
}

.skills > .wrapper > ul > li {
  line-height: 1.2;
  margin-bottom: 8px;
  padding-left: 6px;
}

.openSource {
  header {
    position: relative;
    display: flex;
    justify-content: space-between;
    img {
      position: absolute;
      top: 0;
      right: 0;
    }
  } 
  ul {
    li {
      margin-bottom: 24px;
    }
  }
}

.openSource header img {
  // position: absolute;
  // top: 0;
  // right: 0;
}

.openSource > ul > li {
  // margin-bottom: 24px;
}

.openSource header {
  // position: relative;
  // display: flex;
  // justify-content: space-between;
}

.skills {
  > .wrapper {
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    > ul {
      list-style: num;
      margin: 12px 0 0 16px;
      color: #050505;
    }
  }
}

@media (max-width: 500px) {
  .education > p > span {
    display: block;
  }
}

@media (max-width: 500px) {
  body {
    margin: 0;
  }

  article {
    width: auto;
    height: auto;
  }

  .skills .wrapper {
    flex-direction: column;
  }

  #skills {
    width: auto;
  }
}

.experience {
  > ul {
    > li {
      header {
        padding-left: 12px;
        .job-title {
          font-weight: 700;
        }
        .company{
          color: #696969;
        }
      }
      main {
        margin-left: 36px;
        ul {
          list-style: num;
          li {
          }
        }
      }
    }
  }
}


.line {
  padding: 4px 0;
  border-top: .2px dashed  rgba(0, 0, 0, 0.2);
}


.projects {
  p {
    color: #666;
  }
  strong {
    color: #f60;
  }
  ol {
    margin-top: 0;
    list-style-position: inside;
    padding: 0;
    > li {
      margin-bottom: 6px;
      header {
        display: flex;
        justify-content: space-between;
      }
      h3 {
        display: inline-block;
      }
    }
  }
  // corporate 
  > div {
    > h3 {
      padding: 4px 0 6px 0;
      text-align: center;
    }
  }
}

.education {
  > .content {
    display: flex;
    justify-content: space-between;
    margin-right: 100px;
  }
  @media (max-width: 500px) {
    .content {
      flex-direction: column;
      margin-right: 0;
      gap: 8px;
    }
  }
}
